namespace Crux.Core.Cache.Extensions;
/// <summary>
/// HybridCache
/// </summary>
public class HybridCacheOption
{
    /// <summary>
    ///
    /// </summary>
    public TimeSpan? AbsoluteExpiration { get; set; }
    /// <summary>
    ///
    /// </summary>
    public TimeSpan? SlidingExpiration { get; set; }
    /// <summary>
    /// 随机滑动窗口
    /// </summary>
    public int RandomSlidingSecond { get; set; } = 60;
    /// <summary>
    /// 
    /// </summary>
    public bool WithMemory { get; set; } = true;
}